﻿package com.ufenlei.LTS{
	
	public class RadioBox extends Input{
		protected var _label:String;
		protected var _index:int;
		
		public function RadioBox(lbl:String ,idx:int= 0,  de:Boolean = false, lck:Boolean = false){
			super(de,lck);
			_label = lbl;
			_index = idx;
		}
		public function get idx ():uint{
			return this._index;
		}
		override protected function onClick():void{
			if(!value){
				select();
			}
		}
	}
}